package com.shen.nettysocketchat.bean

/**
 * 消息头
 */
class Head {
    var msgId: String? = null
    var msgType = 0
    var msgContentType = 0
    var fromId: String? = null
    var toId: String? = null
    var timestamp: Long = 0
    var statusReport = 0
    var extend: String? = null

    override fun toString(): String {
        return "Head(msgId=$msgId, msgType=$msgType, msgContentType=$msgContentType, fromId=$fromId, toId=$toId, timestamp=$timestamp, statusReport=$statusReport, extend=$extend)"
    }
}